import request from '@/utils/request'

// 查询专利查询列表
export function listPatentSearch(query) {
  return request({
    url: '/business/patentSearch/list',
    method: 'get',
    params: query
  })
}

// 查询专利查询详细
export function getPatentSearch(id) {
  return request({
    url: '/business/patentSearch/' + id,
    method: 'get'
  })
}

// 新增专利查询
export function addPatentSearch(data) {
  return request({
    url: '/business/patentSearch',
    method: 'post',
    data: data
  })
}

// 修改专利查询
export function updatePatentSearch(data) {
  return request({
    url: '/business/patentSearch',
    method: 'put',
    data: data
  })
}

// 删除专利查询
export function delPatentSearch(id) {
  return request({
    url: '/business/patentSearch/' + id,
    method: 'delete'
  })
}



